<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/security/tags"	prefix="sec"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="dec" %>
<nav>
	      <ul id="nav">
	        <li><a href="/index">Start</a></li>
	        <sec:authorize ifNotGranted="ROLE_ANONYMOUS" >
	        	<li><a href="/user/${loggedUser.username }/account">Konto</a></li>
	        </sec:authorize>
	        <sec:authorize ifAnyGranted="ROLE_ANONYMOUS" >
	        	<li><a href="/register">Rejestruj</a></li>        
	        </sec:authorize>
	        <li><a href="/restaurants">Lokale</a></li>
	        <li><a href="/search">Szukaj</a></li>
	        <li><a href="/top">Top</a></li>
	        <li><a href="/contact">Kontakt</a></li>
	      </ul>
</nav>
